package com.ruoyi.web.es.beans;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
@Data
@Document(indexName = "#{@esConfig.getApiCallIndexName()}",createIndex = false)
public class LogAllSystem {
    @Id
    private String id;

    @Field(type = FieldType.Keyword)
    private String logTime;
    @Field(type = FieldType.Keyword)
    private String serviceName;
    @Field(type = FieldType.Keyword)
    private String jobNumber;
    @Field(type = FieldType.Keyword)
    private String userName;
    @Field(type = FieldType.Keyword)
    private String IP; //
    @Field(type = FieldType.Keyword)
    private String action;
    @Field(type = FieldType.Keyword)
    private String describe;
    @Field(type = FieldType.Keyword)
    private String inTime;
    @Field(type = FieldType.Keyword)
    private String status;
}
